<script setup lang="ts">
import { onMounted } from "vue";

import { setHtmlLang } from "@/utils/i18n";
import { useI18nStore } from "@/store/modules/i18n";
const i18nStore = useI18nStore();

onMounted(() => {
	// 设置 html lang 测试
	setHtmlLang(i18nStore.locale);
});

</script>

<template>
  	<el-config-provider :locale="i18nStore.elementPlusLocale">
		<router-view></router-view>
	</el-config-provider>
</template>

<style scoped>
/* #app {
	position: relative;
	width: 100%;
	height: 100%;
} */
</style>
